package com.zbb.user.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @FeignClient表明当前类是一个Feign客户端,value指定客户端的服务名称
 */
@FeignClient(value = "order-api")
public interface OrderSnapshotServiceClient {

    @PutMapping("/order/updateEvaluationStatus/{snapshotId}")
    public void updateEvaluationStatus(@PathVariable("snapshotId") String snapshotId, @RequestParam("evaluationStatus") Integer evaluationStatus);

    }
